package com.example.micrdataservice.mapper;

import com.example.micrapi.pojo.SysMenu;
import com.example.micrapi.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author smc
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2024-02-27 23:15:57
* @Entity generator.pojo/.SysUser
*/
public interface SysUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

    SysUser selectByUserName(@Param("username") String username, @Param("type") int type);

    int updateLastTimeByPrimaryKey(SysUser sysUser);
}
